<?php 
header("content-type: text/html; charset=utf-8");

class CallableClass
{
    public function __invoke($x)
    {
        var_dump($x);
    }
}

$obj = new CallableClass;

$obj(5);
call_user_func_array($obj, array(5));
var_dump(is_callable($obj));

?>